package com.pikaqiu.warehouse.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pikaqiu.warehouse.domain.dto.CategoryGroupDto;
import com.pikaqiu.warehouse.domain.dto.MaterialProductInfoDto;
import com.pikaqiu.warehouse.domain.dto.MaterialProductLinkInfoDto;
import com.pikaqiu.warehouse.domain.entity.Products;
import com.pikaqiu.warehouse.domain.req.ProductForm;

import java.util.List;

/**
* @author Administrator
* @description 针对表【products】的数据库操作Service
* @createDate 2024-08-14 14:08:24
*/
public interface ProductsService extends IService<Products> {

    List<Products> listAllProduct(Integer companyId);

    void saveProduct(ProductForm productForm);

    List<CategoryGroupDto> listGroup();

    MaterialProductInfoDto info(Integer id);

    MaterialProductLinkInfoDto linkInfo(Integer id);

    void saveLinkInfo(Integer id, String links);

}
